// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * AmazonOrderList
 */
@DS("ds24")
@Data
@TableName(value = "amazon_order_list", autoResultMap = true)
@Schema(title = "亚马逊订单")
public class AmazonOrderList implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 店铺
   */
  @TableField(value = "`seller_name`")
  @Schema(title = "店铺")
  private String sellerName;

  /**
   * 国家
   */
  @TableField(value = "`country`")
  @Schema(title = "国家")
  private String country;

  /**
   * 订单号
   */
  @TableField(value = "`amazon_order_id`")
  @Schema(title = "订单号")
  private String amazonOrderId;

  /**
   * 标题
   */
  @TableField(value = "`title`")
  @Schema(title = "标题")
  private String title;

  /**
   * ASIN
   */
  @TableField(value = "`asin`")
  @Schema(title = "ASIN")
  private String asin;

  /**
   * MSKU
   */
  @TableField(value = "`msku`")
  @Schema(title = "MSKU")
  private String msku;

  /**
   * 数量
   */
  @TableField(value = "`quantity_ordered`")
  @Schema(title = "数量")
  private String quantityOrdered;

  /**
   * 品名
   */
  @TableField(value = "`produc_name`")
  @Schema(title = "品名")
  private String producName;

  /**
   * SKU
   */
  @TableField(value = "`sku`")
  @Schema(title = "SKU")
  private String sku;

  /**
   * 买家姓名
   */
  @TableField(value = "`buyer_name`")
  @Schema(title = "买家姓名")
  private String buyerName;

  /**
   * 买家邮件
   */
  @TableField(value = "`buyer_email`")
  @Schema(title = "买家邮件")
  private String buyerEmail;

  /**
   * 订单总金额
   */
  @TableField(value = "`order_total_amount`")
  @Schema(title = "订单总金额")
  private String orderTotalAmount;

  /**
   * 订购时间
   */
  @TableField(value = "`purchase_date_local`")
  @Schema(title = "订购时间")
  private String purchaseDateLocal;

  /**
   * 备注
   */
  @TableField(value = "`remark`")
  @Schema(title = "备注")
  private String remark;

  /**
   * 请求评论状态
   */
  @TableField(value = "`request_comment_status`")
  @Schema(title = "请求评论状态")
  private String requestCommentStatus;

  /**
   * 状态 (Unshipped - Unshipped; Shipped - Shipped; )
   */
  @TableField(value = "`order_status`")
  @Schema(title = "状态")
  private String orderStatus;

  /**
   * 发货时限
   */
  @TableField(value = "`earliest_ship_date`")
  @Schema(title = "发货时限")
  private String earliestShipDate;

  /**
   * 发货时限（UTC）
   */
  @TableField(value = "`earliest_ship_date_utc`")
  @Schema(title = "发货时限（UTC）")
  private String earliestShipDateUtc;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 发货渠道 (AFN - AFN; MFN - MFN; )
   */
  @TableField(value = "`fulfillment_channel`")
  @Schema(title = "发货渠道")
  private String fulfillmentChannel;

  /**
   * 邮编
   */
  @TableField(value = "`postal_code`")
  @Schema(title = "邮编")
  private String postalCode;

  /**
   * 电话
   */
  @TableField(value = "`phone`")
  @Schema(title = "电话")
  private String phone;

  /**
   * 是否多渠道订单 (1 - 多渠道订单; 0 - 普通订单; )
   */
  @TableField(value = "`is_mcf_order`")
  @Schema(title = "是否多渠道订单")
  private String isMcfOrder;

  /**
   * 是否评测订单
   */
  @TableField(value = "`is_assessed`")
  @Schema(title = "是否评测订单")
  private Integer isAssessed;

  /**
   * 币种
   */
  @TableField(value = "`order_total_currency_code`")
  @Schema(title = "币种")
  private String orderTotalCurrencyCode;

  /**
   * 销售渠道
   */
  @TableField(value = "`sales_channel`")
  @Schema(title = "销售渠道")
  private String salesChannel;

  /**
   * 物流运单号
   */
  @TableField(value = "`tracking_number`")
  @Schema(title = "物流运单号")
  private String trackingNumber;

  /**
   * 退款金额
   */
  @TableField(value = "`refund_amount`")
  @Schema(title = "退款金额")
  private String refundAmount;

  /**
   * 下单时间（UTC）
   */
  @TableField(value = "`purchase_date_local_utc`")
  @Schema(title = "下单时间（UTC）")
  private String purchaseDateLocalUtc;

  /**
   * 发货日期
   */
  @TableField(value = "`shipment_date`")
  @Schema(title = "发货日期")
  private String shipmentDate;

  /**
   * 发货日期（UTC）
   */
  @TableField(value = "`shipment_date_utc`")
  @Schema(title = "发货日期（UTC）")
  private String shipmentDateUtc;

  /**
   * 发货日期（站点时间）
   */
  @TableField(value = "`shipment_date_local`")
  @Schema(title = "发货日期（站点时间）")
  private String shipmentDateLocal;

  /**
   * 订单更新站点时间
   */
  @TableField(value = "`last_update_date`")
  @Schema(title = "订单更新站点时间")
  private String lastUpdateDate;

  /**
   * 订单更新站点时间（UTC）
   */
  @TableField(value = "`last_update_date_utc`")
  @Schema(title = "订单更新站点时间（UTC）")
  private String lastUpdateDateUtc;

  /**
   * 付款时间
   */
  @TableField(value = "`posted_date`")
  @Schema(title = "付款时间")
  private String postedDate;

  /**
   * 付款时间（UTC）
   */
  @TableField(value = "`posted_date_utc`")
  @Schema(title = "付款时间（UTC）")
  private String postedDateUtc;

  /**
   * 下单时间
   */
  @TableField(value = "`purchase_date`")
  @Schema(title = "下单时间")
  private String purchaseDate;

  /**
   * 下单时间（UTC）
   */
  @TableField(value = "`purchase_date_utc`")
  @Schema(title = "下单时间（UTC）")
  private String purchaseDateUtc;

  /**
   * 订单修改时间
   */
  @TableField(value = "`gmt_modified`")
  @Schema(title = "订单修改时间")
  private String gmtModified;

  /**
   * 订单修改时间（UTC）
   */
  @TableField(value = "`gmt_modified_utc`")
  @Schema(title = "订单修改时间（UTC）")
  private String gmtModifiedUtc;

  /**
   * 配送服务
   */
  @TableField(value = "`ship_service_level`")
  @Schema(title = "配送服务")
  private String shipServiceLevel;

  /**
   * 地址1
   */
  @TableField(value = "`address_line1`")
  @Schema(title = "地址1")
  private String addressLine1;

  /**
   * 收件人
   */
  @TableField(value = "`name`")
  @Schema(title = "收件人")
  private String name;

  /**
   * 退款状态 (1 - 退款; 0 - 未退款; 2 - 退款完成; )
   */
  @TableField(value = "`is_return`")
  @Schema(title = "退款状态")
  private String isReturn;

  /**
   * 是否换货订单 (1 - 是; 0 - 否; )
   */
  @TableField(value = "`is_replacement_order`")
  @Schema(title = "是否换货订单")
  private String isReplacementOrder;

  /**
   * 是否已换货 (1 - 换货; )
   */
  @TableField(value = "`is_replaced_order`")
  @Schema(title = "是否已换货")
  private String isReplacedOrder;

  /**
   * 是否为B2B订单 (1 - B2B; )
   */
  @TableField(value = "`is_business_order`")
  @Schema(title = "是否为B2B订单")
  private String isBusinessOrder;

  /**
   * 店铺id
   */
  @TableField(value = "`shop_id`")
  @JoinField(ShopInfo.class)
  @Schema(title = "店铺id")
  private Long shopId;

  /**
   * 店铺编码
   */
  @TableField(value = "`shop_code`")
  @Schema(title = "店铺编码")
  private String shopCode;
}
